import re
str1 = " String's type is     str "
print(str1,end='')
print('end')
str1=re.sub(r"\s+", "", str1)
print(str1.replace(' ', ''),end='')
print('end')